/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.apps.core;

import com.apps.utils.StartupHelper;
import javax.swing.UIManager;

/**
 *
 * @author ARIJIT PAL
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception{
        //loading settings
        StartupHelper.loadSettings();

        try {
            UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        
        Startup main = new Startup();
        System.out.println("Current Env: "+main.getCurrentEnv());
        main.getAccList(main.getCurrentEnv());
        try{System.out.println("AccList: "+main.getAccList(main.getCurrentEnv()).size());}catch(Exception ex){}
        main.openAllShell(main.getCurrentEnv());
        main.startUI();
    }

}
